<script setup>
import Jiugongge from './components/jiugongge.vue'
import { ref } from 'vue'
const data = ref([{ title: '', probability: 5 },
  { title: '', probability: 15,img:'https://pic3.zhimg.com/v2-5fb13110e1de13d4c11e6e7f5b8026da_r.jpg' },
  { title: '', probability: 30 },
  { title: '', probability: 50 },
  { title: '消化3', probability: 5 },
  { title: '', probability: 25 },
  { title: '', probability: 34 },
  { title: 'Thank You', probability: 40 },
 
])
function handleObjectFromChild(data){
  console.log(data);
}
</script>

<template>
  <div class="page">
    <Jiugongge height="400" width="400" :data="data" @resultData="handleObjectFromChild" />
  </div>
</template>

<style scoped>
.page{
  width: 100%;
  height: 100%;
}
</style>
